﻿using MyCode.Project.Infrastructure.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Infrastructure.Constant
{
    /// <summary>
    /// 系统全局配置代码常量类,
    /// 代码的编码规则是前面第一位数是大类，
    /// 初步分为1：系统控制，2：订单业务，3：进销存业务，4：配发货业务，5：档案相关，9：定制
    /// 后面需要再做优化
    /// 第二第三位数是子分类，例如01代表权限数据
    /// 后面三位数是流水
    /// </summary>
    public class Const
    {
        /// <summary>
        /// 登录信息存放在token中的Key
        /// </summary>
        public static readonly string LoginInfoKey = "login";

        /// <summary>
        /// 店员角色ID
        /// </summary>
        public static Guid ClerkRole = Guid.Parse("E935EF66-2DD5-996A-1883-39E51AAF04C5");

        /// <summary>
        /// 店长角色ID
        /// </summary>
        public static Guid StoreManagerRole = Guid.Parse("73FE217D-82B3-18F0-9BFB-39E510BB7B57");

        /// <summary>
        /// 移动端加盟商角色ID
        /// </summary>
        public static Guid CustomerRole = Guid.Parse("3C41BF23-C653-2082-8A06-39F05B5C1C38");

        public static string RegisteredUrl= WebConfigUtils.GetAppSettingsInfo("RegisteredUrl");

        /// <summary>
        /// T100角色ID
        /// </summary>
        public static Guid T100Role = Guid.Parse("03C4B2AC-5ADB-DB42-1FE0-39F0EB921E1F");

        /// <summary>
        /// 区总/区域经理角色ID
        /// </summary>
        public static Guid RegionalManagerRole = Guid.Parse("9CDDD5ED-5C71-E063-6ED1-39E80BFCB34B");

        /// <summary>
        /// 销售总监角色ID
        /// </summary>
        public static Guid DirectorOfSalesRole = Guid.Parse("BD1245CB-7942-AABD-C922-39F5A9D23C5E");

        /// <summary>
        /// 事业部总经理角色ID
        /// </summary>
        public static Guid GeneralManagerRole = Guid.Parse("A423D40F-036E-18D1-0D50-39F5A9D29849");

        /// <summary>
        /// 发饰品
        /// </summary>
        public static Guid FaShiPin = Guid.Parse("EFCE249A-6BC6-C3D2-F445-39E50765B2E0");

        /// <summary>
        /// 首饰品
        /// </summary>
        public static Guid ShouShiPin = Guid.Parse("2B41F3AB-6261-B504-F006-39E650B7AD73");

        /// <summary>
        /// 护肤类
        /// </summary>
        public static Guid HuFuLei = Guid.Parse("F3DBD3CE-F07B-A4FD-934A-39E50765B2DF"); 
       

        /// <summary>
        /// 彩妆类
        /// </summary>
        public static Guid CaiZhuangLei = Guid.Parse("DA25A968-78DF-2BA6-BDF5-39E50765B2DE");

        /// <summary>
        /// 其他类
        /// </summary>
        public static Guid QiTaLei = Guid.Parse("5F13639A-8F91-FB61-A6A4-39F6112BB3B3");

        /// <summary>
        /// 事业部总经理组织ID
        /// </summary>

        public static Guid ZongJingLiOranId= Guid.Parse("3DC81BCD-BE66-AACC-1A5F-39F364036C90");

        /// <summary>
        /// 销售运营中心总监组织ID
        /// </summary>

        public static Guid ZongJianOranId = Guid.Parse("009DCAD9-7CC1-E9D4-0B1C-39F36403B34E");

        /// <summary>
        /// 东区区总路径
        /// </summary>
        public static string EastPath = "001001003";

        /// <summary>
        /// 南区区总路径
        /// </summary>
        public static string SouthPath = "001001001";

        /// <summary>
        /// 中西区区总路径
        /// </summary>
        public static string CentralWesternPath = "001001004";

        /// <summary>
        /// 北区区总路径
        /// </summary>
        public static string NorthPath = "001001002";

        /// <summary>
        /// 销售赠送的护理服务ID
        /// </summary>
        public static Guid HuLiFuWu = Guid.Parse("00000000-0000-0000-0000-000000000099");

        public static string ClerkHeadImgUrl = "https://wuxingcdn.guoko.com/Clerk_HeadImg.png";

        /// <summary>
        /// 优惠券活动指定的全部店铺强制参加的注册事件活动ID
        /// </summary>
        public static Guid ZhuCeCouponActivityId = Guid.Parse("DDB1D4B8-5CB9-D876-D92A-3A03BEAD9525");

        /// <summary>
        /// 库存的一维套分类ID
        /// </summary>
        public static Guid YiWeiTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000001");

        /// <summary>
        /// 库存的二维套分类ID
        /// </summary>
        public static Guid ErWeiTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000002");

        /// <summary>
        /// 库存的三维套分类ID
        /// </summary>
        public static Guid SanWeiTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000003");

        /// <summary>
        /// 库存的四维套分类ID
        /// </summary>
        public static Guid SiWeiTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000004");    

        /// <summary>
        /// 库存的拓客套数分类ID
        /// </summary>
        public static Guid TuoKeTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000011");

        /// <summary>
        /// 库存的首单套数分类ID
        /// </summary>
        public static Guid ShouDanTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000021");

        /// <summary>
        /// 库存的叠加套分类ID
        /// </summary>
        public static Guid DieJiaTaoCan = Guid.Parse("00000000-0000-0000-0000-100000000031");

        /// <summary>
        /// 专供后端内部访问MYSQL报表的API的识别KEY
        /// </summary>
        public static string LxmZHMDReportKey = "f1560344-d804-40bd-a7e9-08861656cfc7";

        /// <summary>
        /// 服务分类的护肤类ID
        /// </summary>
        public static Guid HuFuDeptId = Guid.Parse("00000000-0000-0000-0000-200000000001");


        /// <summary>
        /// 专供后端内部访问后台报表的LXMAPI的识别KEY
        /// </summary>
        public static string LxmSysTemReportKey = "D68957E0-BEAB-4791-9A63-5EC6855C9E6E";

        /// <summary>
        /// 专供后端内部访问后台系统的API的识别KEY
        /// </summary>
        public static string LxmAdminApiKey = "f1560344-d804-40bd-a7e9-08861656cfc7";

    }
}
